package com.test.entity;

import java.sql.Timestamp;

/**
 * Card entity. @author MyEclipse Persistence Tools
 */

public class Card implements java.io.Serializable {

	// Fields

	private Integer id;
	private CardType cardType;
	private String cardNo;
	private Integer cardPassword;
	private String cardDesc;
	private String  cardTime;
	private Integer cardState;

	// Constructors

	/** default constructor */
	public Card() {
	}

	/** minimal constructor */
	public Card(CardType cardType, String cardNo, Integer cardPassword,
			String  cardTime, Integer cardState) {
		this.cardType = cardType;
		this.cardNo = cardNo;
		this.cardPassword = cardPassword;
		this.cardTime = cardTime;
		this.cardState = cardState;
	}

	/** full constructor */
	public Card(CardType cardType, String cardNo, Integer cardPassword,
			String cardDesc, String  cardTime, Integer cardState) {
		this.cardType = cardType;
		this.cardNo = cardNo;
		this.cardPassword = cardPassword;
		this.cardDesc = cardDesc;
		this.cardTime = cardTime;
		this.cardState = cardState;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public CardType getCardType() {
		return this.cardType;
	}

	public void setCardType(CardType cardType) {
		this.cardType = cardType;
	}

	public String getCardNo() {
		return this.cardNo;
	}

	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}

	public Integer getCardPassword() {
		return this.cardPassword;
	}

	public void setCardPassword(Integer cardPassword) {
		this.cardPassword = cardPassword;
	}

	public String getCardDesc() {
		return this.cardDesc;
	}

	public void setCardDesc(String cardDesc) {
		this.cardDesc = cardDesc;
	}

	public String  getCardTime() {
		return this.cardTime;
	}

	public void setCardTime(String  cardTime) {
		this.cardTime = cardTime;
	}

	public Integer getCardState() {
		return this.cardState;
	}

	public void setCardState(Integer cardState) {
		this.cardState = cardState;
	}

}